package com.db.patterns.proxy.jdk_proxy;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Student implements ShowLove {
    private String name;

    @Override
    public void sendFlowers() {
        System.out.println(name + "送你玫瑰");
    }

    @Override
    public void sendToys() {
        System.out.println(name + "送你草莓熊");
    }
}
